home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / faq / comp / comp_sys < prev    next >
Internet Message Format  |  1994-03-25  |  79KB

  1. Path: bloom-beacon.mit.edu!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!purdue!news.cs.indiana.edu!babbage.ece.uc.edu!thor.ece.uc.edu!montjoy
  2. From: montjoy@thor.ece.uc.edu (Rob Montjoy)
  3. Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc,comp.unix.solaris,comp.answers,news.answers
  4. Subject: FAQ: Sun Computer Administration Frequently Asked Questions
  5. Supersedes: <comp-sys-sun-admin_762577468@babbage.ece.uc.edu>
  6. Followup-To: poster
  7. Date: 25 Mar 1994 15:50:44 GMT
  8. Organization: University of Cincinnati
  9. Lines: 2072
  10. Sender: montjoy@thor.ece.uc.edu (Rob Montjoy)
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: inet
  13. Expires: 22 Apr 1994 15:50:33 GMT
  14. Message-ID: <comp-sys-sun-admin_764610633@babbage.ece.uc.edu>
  15. NNTP-Posting-Host: thor.ece.uc.edu
  16. Summary: Answers to questions which appear in comp.sys.sun.*
  17. Keywords: Sun Computer Admin FAQ
  18. Status: RO
  19. Originator: montjoy@thor.ece.uc.edu
  20. Xref: bloom-beacon.mit.edu comp.sys.sun.admin:25161 comp.sys.sun.misc:10370 comp.unix.solaris:14781 comp.answers:4324 news.answers:16851
  21.  
  22. Archive-name: comp-sys-sun-faq
  23. Last-modified: 1994/3/1
  24. Version: 1.9.1
  25.  
  26. Frequently Asked Questions for Comp.sys.sun.admin
  27.  
  28. Last update March 1 1994
  29.  
  30. This is a collection of common questions posted to the comp.sys.sun.*
  31. hierarchy.
  32.  
  33. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  34. the Subject as Sun FAQ.
  35.  
  36. This FAQ is available from thor.ece.uc.edu(129.137.8.118)
  37. in the /pub/sun-faq. Get the file sun-faq.general. The sun-faq
  38. directory is also available from gopher.ece.uc.edu(129.137.8.118).
  39.  
  40. Important Notice:
  41.     This is the Last version of this FAQ in its present form. This
  42.     FAQ will be divided into several sections and be converted to
  43.     allow newsreaders to go between subjects. 
  44.  
  45.     This would be a good time to add any of your favorite questions.
  46.     Just mail them to the usual address. 
  47.  
  48.     Also, someone has volunteered to maintain this FAQ in 
  49.     HTML form(World Wide Web) and this FAQ will be made available
  50.     through the Web Server at ra.ece.uc.edu and at least one
  51.     more.
  52.  
  53.     If anyone has any source code(Sun Specific) for Solaris2.x or
  54.     SunOS4.1.x that you want to add the source archive available
  55.     on thor. Should we offer pre-compiled binaries for Solaris2.x?
  56.  
  57.     Finally, at the same time the thor anon ftp and thor gopher
  58.     servers will be overhauled. Let me know if you want anything
  59.     included on the gopher or anon ftp servers.
  60.  
  61. Notes:    As of this writing almost all of these questions apply
  62.           to SunOS versions up to 4.1.3. SunOS 5.x questions
  63.           will start appearing gradually as more people start
  64.           installing SunOS 5.x(Solaris 2.x). 
  65.  
  66.     I am looking for suggestions on how to split this FAQ into
  67.     sections. These sections should follow the comp.sys.sun.* 
  68.     newsgroups(app, hardware, admin, misc, and wanted) and
  69.     section on bettering Sun Security. Basically, what
  70.     will end up with is a FAQ on each subject. Each
  71.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  72.     and a section common to both.
  73.  
  74.     I will probably need some volunteers to help coordinate
  75.     this undertakeing.. Send suggestion to the usual address.
  76.  
  77.  
  78. This article includes answers to the following questions, which are loosely
  79. grouped into categories. Questions marked with a '+' indicate questions
  80. new to this issue; those with significant changes of content since the 
  81. last issue are marked by '!'.
  82.  
  83.  
  84.                 Questions
  85.  
  86.  1)       How to get DNS working when not running NIS ?
  87.  2)     How to get DNS to be used when running NIS ?
  88.  3)     How to properly setup NFS mounting of /var/spool/mail ?
  89.  4)       Can I use AnswerBook under X11R5?
  90.  5)!    What does "NFS write error X" mean?
  91.  6)     How do I find the amount of memory installed or other
  92.     system configuration information?
  93.  7)     Where can I get a version of ftp that does logging?
  94.  8)       Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  95.  9)!      How to setup Openwindows Calendar Manager in a distributed
  96.     environment?
  97. 10)      Why does the talk command fail between SunOS
  98.     and any other manufacturer's equipment(like DEC)? 
  99. 11)      How do I setup "anonymous" ftp?
  100. 12)     How come yppasswdd does not automatically update the yp maps?
  101. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  102. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  103. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  104.         model?
  105. 16)     How can I turn my Sun3 into an X-Terminal?
  106. 17)    Why is my console login prompt garbled or in some strange 
  107.     alphabet after upgrading to 4.1.3?
  108. 18)      Why are the "random" missing services at boot time(even
  109.     though the services are in the /etc/services file or NIS map)?
  110. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  111.     a reasonable price)?
  112. 20)       What is "archie"?
  113. 21)     How do I synchronize time between several Suns?
  114. 22)      What is the phone number for Sun Express and other numbers of importance
  115.     to Sun Users? 
  116. 23)     How do I join sun related  mailing lists?
  117. 24)    How do I use Mac floppies in a SUN drive?
  118. 25)!    How can I transfer floppies back and forth between MS-DOS and Sparc?
  119. 26)    Why is my biff not "biffing" when using biff in a networked
  120.     environment?
  121. 27)    How do I disable L1-A(STOP-A) or re-map it?
  122. 28)      Why are all the local users "unknown" when using sendmail under 4.1.2?
  123. 29)     What are the dump parameters for an exabyte 8200 or 8500?
  124. 30)     What are the guidelines for setting up swap space ?
  125. 31)    What are the general guidelines for maxusers to be set to on machine X?
  126. 32)    What does "zsN: silo overflow" mean?
  127. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  128.     signify?
  129. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  130. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  131.     connection to some non-Sun machine; it won't log in.  What's wrong?
  132. 36)     Do the Sun serial ports support RTS/CTS flow control?
  133. 37)    How do I specify that a serial port should, or should not, ignore the
  134.     state of the Carrier Detect line?
  135. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  136.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  137. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  138.     Control, and Esc keys inconvenient.  How do I remedy this?
  139. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  140.     Caps Lock and Control keys on a Type 5 keyboard?
  141. 41)       My Sun doesn't have an ANSI C compiler.  How can I get one?
  142. 42)      How do I change the time zone setting on my machine?
  143. 43)    I'm getting messages that say one of the following:
  144.          proc: table is full    and/or
  145.             file: table is full    and/or
  146.             dquot: table is full     and/or
  147.             inode: table is full
  148.          What do these errors mean, and how do I fix the problem?
  149. 44)      Blank at present.
  150. 45)      How do I run X11R5 applications under Openwindows or Openwindows 
  151.     applications under X11R5?
  152. 46)      Where do I find a "restricted" shell for SunOS?
  153. 47)       Will SunOS 4.1.x binaries run under SunOS 5.x?
  154. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  155.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  156.     _get_applicationShellWidgetClass). What is the Problem?
  157. 49)       What is Solaris?
  158. 50)     What does the "nres_gethostbyaddr !=" error mean?
  159. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  160.         how do I repair it?
  161. 52)     After rebuilding the shared library libc it get some or all the 
  162.     following undefined symbols: dlsym, dlopen, dlclose mbstowcs_xccs,
  163.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  164. 53)     What does "No network locking on host" mean after upgrading to
  165.     Solaris 2.0?
  166. 54)     Does Password Aging work with NIS(YP) ?
  167. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  168. 56)    How do I join the Sun User Group(SUG)?
  169. 57)!      How do I increase the number of "pseudo" terminals(ptys) ?
  170. 58)      Where are dump and restore under Solaris 2.x?
  171. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  172. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  173.     under Openwindows 3.0?
  174. 61)        Which Sun models run which versions of SunOS?
  175. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  176. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  177. 64)     How do I setup DNS on Solaris2.x?
  178. 65)       Can a SPARCclassic or LX run SunOS 4.1.3?
  179. 66)     I just restored my root partation and now I can not boot. What
  180.     is wrong?
  181. 67)     How do I disable/enable packet forwarding?
  182. 68)      How do I disable the printing of banners pages?
  183. 69)     How do I change my hostname?
  184. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  185. 71)     Where can I get the BSD print spooler for Solaris2.x?     
  186. 72)     Where is the Solaris2.x screenblank?
  187. 73)!     Is there a command to display the configuration of 
  188.     currentily attached SCSI devices?
  189. 74)+    My printer will not print large files(over 1-megabyte), I 
  190.     keep getting "file to big" errors. What do I do?
  191. 75)+    I keep getting "data corruption" when using NFS over a wan,
  192.     or slip/ppp link. What do I do? 
  193. 76)+    Does anybody know how to enable UDP checksum on NFS?
  194. 77)+    Is there a mailing list for Wabi?
  195.  
  196.  
  197.  
  198.                 Answers
  199.  
  200.  1)     How to get DNS working when not running NIS ?
  201.  
  202.     Note: Solaris2.x users should see question 64..
  203.     
  204.         The "normal" behavior of a hostname lookup under NIS is to
  205.         consult the NIS hosts map and then DNS (if configured). If
  206.     you are not running NIS the system will only look in 
  207.     the /etc/hosts file. 
  208.  
  209.     You have two options to correct this situation:
  210.  
  211.         A) Re-build the shared library version of libc with replacement
  212.            resolver routines which understand DNS. Resolv+ provides one
  213.                of the best sets of replacement routines and it cames with
  214.            detailed instructions. Also, it will take of fixing the
  215.            many problems with the normal Sun shared library rebuild.
  216.            Finally, resolv+ can be obtained from thor.ece.uc.edu.
  217.            Get the file /pub/sun-faq/resolv+2.1.1.tar.Z.
  218.  
  219.            Rebuilding the shared library will not allow  statically
  220.            linked binaries to do name resolving and these binaries
  221.            will only use /etc/hosts. You can get "dynamically linked"
  222.            replacements for these via anonymous ftp to 
  223.            thor.ece.uc.edu(129.137.8.118) and get the file
  224.                /pub/sun-faq/rcp-mount.dynamic.tar.Z.
  225.            This file only contains sun4 binaries.
  226.             
  227.            To be able to rebuild shared libraries you need to 
  228.            install the "shlib custom" option which is avaiable
  229.            with SunOS version 4.1 or greater. 
  230.  
  231.            If you want to do it under 4.0.3 you need to get the
  232.            patches available from ftp.uu.net(192.48.96.9) in the
  233.            /systems/sun/sun-fixes directory. You will need the following
  234.            files: 
  235.             lib.msg, libc_pic.a.sun3 or libc_pic.a.sun4 and
  236.             libc_resolv.so.sun3 or libc_resolv.so.sun4
  237.  
  238.            Make sure to get the README that cames with these files.
  239.            It is in the same directory.
  240.            
  241.                Note: You can still use NIS for other things in environment,
  242.                            such as passwd, and group maps.
  243.  
  244.         B) Run NIS with the "hosts" maps only. If you 
  245.            only need DNS capability than change the "all"
  246.            line /var/yp/Makefile to "all:  hosts".  
  247.  
  248.            It does not require any changes to shared libraries.
  249.         
  250.            See question 2 for complete directoins on how to setup
  251.            DNS with NIS.
  252.  
  253.  2)     How to get DNS to be used when running NIS ?
  254.  
  255.     First setup the appropriate /etc/resolv.conf file.
  256.     Something like this should do the "trick". 
  257.  
  258.     ;
  259.     ; Data file for a client.
  260.     ;
  261.     domain        local domain 
  262.     nameserver    address of primary domain nameserver
  263.     nameserver    address of secondary domain nameserver 
  264.  
  265.     where:    "local domain" is the domain part of the hostnames.
  266.          For example, if your hostname is "thor.ece.uc.edu"
  267.          your "local domain" is "ece.uc.edu".
  268.  
  269.     You will need to put a copy of this resolv.conf on
  270.     all NIS(YP) servers including slaves.
  271.  
  272.     Under SunOS 4.1 and greater, change the "B=" at the top
  273.     of the /var/yp/Makefile to "B=-b" and setup NIS in the 
  274.     usual fashion.   
  275.  
  276.     You will need reboot or restart ypserv for these changes
  277.     to take affect.
  278.  
  279.     Under 4.0.x, edit the Makefile or apply the following "diff":
  280.  
  281. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  282. --- Makefile    Wed Jan 10 13:22:01 1990
  283. ***************
  284. *** 63 ****
  285. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  286. --- 63 ----
  287. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  288. ***************
  289. *** 66 ****
  290. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  291. --- 66 ----
  292. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  293.  
  294.  
  295.  
  296.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  297.  
  298.     On the Client machines:
  299.  
  300.         A) mount /var/spool/mail with the no attribute caching
  301.            option.
  302.         
  303.            An example, fstab line would be the following:
  304.  
  305.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  306.  
  307.         B) Use a sendmail.cf that forces all mail to be delivered
  308.            by the mailhost. 
  309.  
  310.            One such file is available via anonymous ftp to 
  311.            thor.ece.uc.edu. Get the file 
  312.  
  313.                 /pub/sun-faq/sendmail.client.cf
  314.  
  315.            Do not use the OR option that Sun provides. It is broken
  316.            in many ways.
  317.  
  318.     On the server machine:
  319.     
  320.         A) Setup DNS MX records pointing to the mailhost for
  321.            all client machines.
  322.  
  323.         B) Edit the /etc/exports file to export /var/spool/mail
  324.            to the mail client machines. You may want
  325.            to use a netgroup for this purpose.
  326.  
  327.         C) Setup the /etc/sendmail.cf on the server recognize
  328.            that mail to/from a client is "local".
  329.  
  330.            One such file is available via anonymous ftp to 
  331.            thor.ece.uc.edu. Get the file 
  332.  
  333.                 /pub/sun-faq/sendmail.server.cf
  334.         
  335.     Note:     You may want to install Berkeley sendmail instead of Suns
  336.         stock sendmail. 
  337.  
  338.  
  339.  
  340.  4)     Can I use AnswerBook under X11R5?
  341.  
  342.     AnswerBook in its current form requires the Openwindows
  343.     server. It uses the NeWS extensions(Postscript) extensions
  344.     to this server to display the Answerbook files.
  345.  
  346.     To use AnswerBook under X11R5 you will need to replace the 
  347.     docviewer program with xdocviewer.  Xdocviewer does not support
  348.     all the options that the "real" docviewer supports such
  349.     as "hypertext" links.
  350.  
  351.     To install "xdocviewer" you will need the following programs.
  352.  
  353.         Perl-4 patchlevel 35  
  354.         Ghostscript 2.4 or above
  355.         GSpreview 2.1   or above  or Ghostview 1.3   or above
  356.  
  357.         All of these are available from prep.ai.mit.edu. They are 
  358.         located in the /pub/gnu directory.
  359.  
  360.         Finally, you need xdocviewer. It is available from the
  361.         /contrib directory on host ftp.x.org.
  362.  
  363.  
  364.  5)     What does "NFS write error X" mean?
  365.  
  366.         You can lookup the error codes in /usr/include/sys/errno.h.
  367.  
  368.         Two common NFS error codes are 13 - "permission denied" and 70 -
  369.         "stale file handle".
  370.  
  371.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  372.     it can occur because someone has changed the /etc/exports
  373.     entry to disallow the client after the client has already
  374.     been granted permission to perform this operation.
  375.  
  376.         Error code 70 occurs when the file handle on the
  377.     NFS server changes for a particular filesystem.
  378.     The "file handle" can be changed under the following
  379.     circumstances:
  380.         
  381.         A) Installing a new drive in place of an old.
  382.  
  383.         B) Moving a filesystem from one devices to
  384.            another.
  385.  
  386.         C) Performing a format, newfs, dump, and restore
  387.            cycle. Even if to the same device.
  388.  
  389.         D) Unmounting a file system without remounting it.
  390.  
  391.         E) Unmounting a High Sierra/ISO 9660 CD-ROM and
  392.                mounting a different CD.
  393.  
  394.         You can usually get rid of the error by unmounting and
  395.         remounting the filesystem in question. 
  396.  
  397.     Also, error code 70 can occur when someone removes a file 
  398.     that a process is actively writing from a NFS client machine.
  399.  
  400.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  401.         "file handle" given in the error message into a Unix pathname.
  402.         Beware that showfhd does a "find" on your server to get the
  403.         filename.  "man 2 intro" will give you some more general
  404.         information on what error codes could mean.
  405.  
  406.     You will need a patch to get "showfh" to work correctly. The patch
  407.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  408.     This patch has been integrated into 4.1.3.
  409.  
  410.  6)    How do I find the amount of memory installed or other
  411.     system configuration information?
  412.  
  413.     You can use the "devinfo" command to find out genera information 
  414.     about the hardware attached to your Sun. The "devinfo" command is 
  415.         only available on desktop SPARCsystems, SPARCengine 1E(although not
  416.         in the version used in Auspex systems), or 600MP series server only.
  417.  
  418.     Also, most clones should support devinfo.  Any machine that has an 
  419.     SBus will probably support "devinfo"; any machine that doesn't have an
  420.     SBus probably won't support "devinfo".
  421.     
  422.     The "best" command for the job is "sysinfo". Sysinfo is public
  423.     domain utility available via "anonymous" ftp on usc.edu in directory
  424.     /pub/sysinfo. Sysinfo works on all Sun architectures(inculding Sun-3s)
  425.         as well as many other UNIX boxes such as Ultrix, and Next. Also,
  426.     it works on SunOS5.x machines.
  427.  
  428.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  429.                the like will *not* give the correct answer on machines 
  430.            where physical memory is not contiguous, such as many Suns.
  431.  
  432.  
  433.  7)     Where can I get a version of ftp that does logging?
  434.  
  435.     Get the wuarchive ftp daemon. It is available from
  436.         wuarchive.wustl.edu (128.252.135.4) in the directory
  437.         /packages/wuarchive-ftpd
  438.  
  439.     A version of the wuarchive ftpd daemon that compiles right out
  440.     of the box for Solaris2.x machines can be had from
  441.     thor.ece.uc.edu(129.137.8.118) in the /pub/sun-faq directory.
  442.     Remember to specify your own paths in the src/pathnames.h file.
  443.  
  444.     The stock Sun ftpd will log some information if you add the "-l"
  445.            flag in /etc/inetd.conf:
  446.  
  447.             ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  448.  
  449.         Also enable syslogd by adding:
  450.  
  451.         daemon.info      /var/adm/syslog
  452.  
  453.         to "/etc/syslog.conf".
  454.  
  455.  
  456.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  457.  
  458.         Many anonymous ftp sites have partial collections of patches.
  459.         These sites include the following:
  460.  
  461.                 ftp.uu.net:/systems/sun/sun-dist/
  462.             sunline.epfl.ch:/pub/sun-patches/
  463.         ftp.ucs.ubc.ca:/pub/ubc/sun-patches/
  464.         thor.ece.uc.edu:/pub/sun-faq/SunOS4.1.x.Patches
  465.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.1-patches
  466.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.2-patches
  467.         thor.ece.uc.edu:/pub/sun-faq/Solaris2.3-patches
  468.  
  469.     Note: You should always attempt to find a local site before
  470.           using the above.
  471.  
  472.     ftp.uu.net is the "official" distribution point for SunOS
  473.     security patches.
  474.  
  475.         Also, you should use "archie" to look for specific patches.
  476.  
  477.         Finally, the Sun User Group (SUG) CD ROM has a collection of Sun
  478.         patches.
  479.  
  480.  
  481.  9)    How to setup Openwindows Calendar Manager in a distributed
  482.     environment?
  483.  
  484.     Sun's original assumption that each user has a permanent machine 
  485.     allocated to them is not applicable in most environments. Just as 
  486.     users send mail to 'user' rather than 'user@machine', users want 
  487.     to browse others user's calendars and do not care or want to know
  488.     where the calendar is actually stored.
  489.  
  490.     Here is procedure to accomplish our goal. All calendars
  491.     will be stored on a central server. The initial setup
  492.     must be done on the server.
  493.  
  494.         A) Have the user login to the calendar host(calhost)
  495.            machine.
  496.         
  497.         B) Change everyone's .cm.rc file so that 
  498.            Calendar.DefaultCal points to user@calhost
  499.  
  500.            calhost can be an hostname alias or an actual
  501.            hostname. You may want to use the alias
  502.            just in case you change the "calhost" later.
  503.     
  504.         C) Change their Access List and Permissions (under
  505.                Edit/Properties) to show user@client with BID (browse,
  506.                insert, delete) permissions for any client machine the
  507.            user wanted to access their calendar from.
  508.  
  509.     Notes: If you use the scheme you should not NFS mount 
  510.            /var/spool/calendar on the client machines.
  511.  
  512.     or
  513.  
  514.     You can install the "Proxy OpenWindows Calendar Manager", which
  515.     is available via anonymous FTP from thor.ece.uc.edu in
  516.     /pub/sun-faq/proxy-cmsd.tar.Z.
  517.  
  518.     or
  519.     
  520.     You can install the "new cm daemon" which allows you to access
  521.     several Calendar hosts at once. It implements the "orignal"
  522.     rpc.cmsd daemon semantics(unlike proxy-cmsd) and thus all
  523.     the features(of CM) will work as documented.  You can the source
  524.     for this daemon via anonymous FTP from thor.ece.uc.edu as the file
  525.     /pub/sun-faq/newcm_d-1.1.tar.Z
  526.  
  527.     As of this writing newcm is being ported to Solaris2.x.
  528.  
  529. 10)     Why does the talk command fail between SunOS
  530.     and any other manufacturer's equipment(like DEC)? 
  531.  
  532.     SunOS has the old BSD 4.2 version of talk. The old talk
  533.     uses "machine dependent" byte ordering. Since
  534.     DEC has different byte order the two talks can not
  535.     communicate(even if you use "otalk" on the DEC
  536.     machines).
  537.     
  538.     Also, most vendors have the newer version of 
  539.     talk from BSD-4.3 and this version is not compatible
  540.     with the Sun Version(which is BSD-4.2).
  541.  
  542.     The solution is to get and install the new version
  543.     of talk because it uses "network" byte ordering and
  544.     it is compatible with most Vendors current talk 
  545.     implementations.
  546.     
  547.     "New Talk" is available via anonymous ftp from several
  548.     sites including thor.ece.uc.edu. Get the file 
  549.     /pub/sun-faq/ntalk.tar.Z.   Solaris2.x users will need
  550.     to compile this in Berkeley compatability mode.
  551.     
  552.     Finally, a progrom called Ytalk can be used with either
  553.     "New talk" or "Old talk" and compiles on all versions
  554.      of SunOS(Greater than 4.x including 5.x).
  555.     Ytalk can be obtained from thor.ece.uc.edu. Get the file
  556.         /pub/sun-faq/ytalk-3.0.1.tar.gz
  557.  
  558. 11)    How do I setup "anonymous" ftp?
  559.     
  560.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  561.         the procedure differs from vanilla BSD and most examples in 
  562.         system administration books. 
  563.  
  564.     The "ls" binary is dynamically linked, requiring you to 
  565.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  566.     The permissions and ownership of the files within the 
  567.         ftp area are critical to having a secure configuration.
  568.     
  569.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  570.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  571.  
  572.     You can use a "statically" linked binary from the GNU
  573.     fileutils instead of the "dynamically" linked SunOS
  574.     version. You can get the GNU fileutils from prep.ai.mit.edu
  575.     in the directory /pub/gnu
  576.  
  577.     There is also a statically linked version of ls for Suns
  578.     running SunOS 4.1.x, available via anonymous ftp from
  579.     thor.ece.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  580.  
  581.     A complete procedure to setup anonymous under SunOS is
  582.     available via anonymous ftp to thor.ece.uc.edu. Get
  583.     the file /pub/sun-faq/anon-ftp.how-to.
  584.  
  585.     There is an _excellent_ script written by Peter N. Lewis
  586.     (peter.lewis@info.curtin.edu.au) for setting up anonymous ftp
  587.     located on thor.ece.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  588.  
  589. 12)     How come yppasswdd does not automatically update the yp maps?
  590.  
  591.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  592.         the command line arguments.  A work-around is to add the
  593.         "-nosingle" flag (which is the default), this shifts the
  594.         arguments over one, so "passwd" is read instead of "-m".
  595.     Also, you should use the complete path to rpc.yppasswdd
  596.  
  597.         For example:
  598.  
  599.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  600.  
  601.     Note: Only use the DIR=/var/yp if your source files for passwd, group,
  602.           etc are in /var/yp. If they are in /etc you do not need
  603.               to specify DIR=
  604.             
  605.         If you are running the C2 security package, you should apply
  606.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  607.     and rpc.pwdauthd. The patch number is
  608.  
  609.     100201-04 for SunOS 4.1 and 4.1.1
  610.     100564-06 for SunOS 4.1.2 and 4.1.3
  611.  
  612. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  613.  
  614.         You are probably running a pre-4.0 version of NFS and your
  615.         username is in more than 8 groups.  There is a limit on the
  616.         number of groups that could be represented in the rpc service
  617.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  618.         Since many vendors other than Sun are still running old versions
  619.         of NFS, you might see this error even if your SunOS is recent.
  620.  
  621.         Authentication errors are also caused by having secure RPC
  622.         enabled on the client but not on the server, or by having a
  623.         misconfigured secure RPC configuration for the user name
  624.         generating the errors.  Beware of this problem when you are
  625.         using the automounter, as programs (such as Sendmail) may
  626.         silently fail when when they try to mount a directory
  627.         and get this error.
  628.  
  629.  
  630. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  631.  
  632.     This the now infamous Quantum drive "stickation" problem.
  633.  
  634.     If the drive is allowed to cool down(even for a short period 
  635.     of time) the drive lubricant will congeal and prevent the disks
  636.     platters from rotating. 
  637.  
  638.     Before you get a replacement, try lightly tapping
  639.         the drive to loosen the lubricant. If this does not work try
  640.     shaking and twisting the drive at the same time. One last
  641.     thing to try is to lift the system up a couple of inches
  642.     and drop it.
  643.  
  644. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  645.         model?
  646.  
  647.         The higher capacity drives create more heat and draw more power than
  648.         the 105S.  The case cooling ability and power supply in the SS-1 and
  649.         SS-1+ are not adequate for the 210 megabyte or higher capacity drives
  650.         possible in the SS-2.
  651.  
  652. 16)     How can I turn my Sun3 into an X-Terminal?
  653.  
  654.         You can use Seth Robertson's Xkernel package.  It is available
  655.         via anonymous ftp from ftp.ctr.columbia.edu (128.59.64.40) in
  656.         /Xkernel.  The package describes how to configure a minimal kernel
  657.         that runs the X server and offloads all the clients onto another,
  658.         hopefully more powerful host on the network. 
  659.  
  660.     As of this writing the current version of Xkernel is 2.0 and
  661.     it should work on both SPARC and Sun3 platforms.
  662.  
  663.     Xkernel is attractive to some sites that have a large investment in 
  664.         sun3 platforms, as moving  most of the processing off the sun3 
  665.         cpu makes it tolerable to use.  
  666.  
  667.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  668.         you get a 19" monitor with an optical mouse.  
  669.  
  670.  
  671. 17)    Why is my console login prompt garbled or in some strange
  672.     alphabet after upgrading to 4.1.3?
  673.  
  674.         The problem is /etc/ttytab, with 4.1.3, the console is now
  675.     able to display 8 bits characters and getty must take this 
  676.     into account.
  677.  
  678.     The solution is easy, replace your console entry in /etc/ttytab 
  679.     by the following, the important part is 'cons8':
  680.  
  681.     console "/usr/etc/getty cons8"  sun             on local secure
  682.  
  683.     Also, if you did an upgrade(instead of a full install) you may 
  684.     need to add the following to your /etc/gettytab.
  685.  
  686.     # This is a new entry to internationalize the console.  It needs to be
  687.     # 8 bit clean so that ISO 8859 characters can be displayed without
  688.     # the window system.
  689.     #
  690.     cons8:\
  691.             :p8:lm=\r\n%h login\72 :sp#9600:
  692.  
  693.  
  694. 18)    Why are there "random" missing services at boot time(even
  695.     though the services are in the /etc/services file or NIS map)?
  696.  
  697.     The three primary causes for "random" missing services are
  698.     as follows:
  699.  
  700.         A) "Blank" lines in /etc/services on the YP/NIS Master.
  701.            Delete the blank line and remake the services map.
  702.  
  703.         B) NIS/YP server not responding quickly enough
  704.            to the "getservbyname" call because each getservbyname
  705.            call reads the whole map.  One fix is to replace the 
  706.            systems version of inetd with a version that re-tries the
  707.            "unknown" service.
  708.  
  709.            I have "hacked" a version of munetd(public domain
  710.            replacement for inetd) to do this. It is available
  711.            from thor.ece.uc.edu. Get the file /pub/sun-faq/munetd.tar.Z
  712.  
  713.            Another solution to this problem is outlined in part C below.
  714.  
  715.         C) Sun's implementation of the services map is incorrect. To
  716.                correct this problem you will need to replace some library
  717.            routines in libc and rebuild the shared library.
  718.            These routines and directions on installing them are
  719.            available from thor.ece.uc.edu.  Get the file 
  720.            /pub/sun-faq/getservent.tar.Z.
  721.  
  722.         D) Another fix(if you do not want to modify your libc's) is
  723.            to just remove the services map from NIS. However,
  724.            you will need to update the services file by hand on
  725.            all clients. We are running all NIS hosts this way and
  726.                it seems to work quite well.
  727.         
  728.  
  729. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  730.     reasonable price)?
  731.  
  732.     Here is an incomplete list of vendors how have "data certified"
  733.     tapes for the exabyte.
  734.  
  735.     Misco               800-876-1726   $12 - 15 each.    
  736.     TecBridge          800-972-7405   $12 - 15 each.
  737.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  738.     K and K Systems          612-475-1527     $10 Each
  739.     SCR              314-739-0808     $10.95 for Memorex
  740.  
  741. 20)    What is "archie"?
  742.  
  743.     Archie is a database of what is on several thousand anonymous 
  744.     ftp sites. 
  745.  
  746.     To use archie get one of the three archie clients which
  747.     are as follows:
  748.  
  749.         xarchie        -    For use under X11
  750.         c-archie    -     Curses version of Archie
  751.         archie        -     Perl Version of Archie
  752.     
  753.     Theses are available from archie.ans.net in the directory 
  754.     /pub/archie.
  755.  
  756.     List of other publicly available archie servers:
  757.  
  758.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  759.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  760.                                           in Lincoln)
  761.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  762.     archie.ans.net       147.225.1.2     (ANS archie server)
  763.     archie.au            139.130.4.6     (Australian server)
  764.     archie.funet.fi      128.214.6.100   (European server in Finland)
  765.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  766.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  767.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  768.     archie.th-darmstadt.de 130.83.128.111 (German server)
  769.  
  770.     
  771. 21)    How do I synchronize time on my Sun Network?
  772.  
  773.     You should use xntp version 3 to synchronize your time. Xntp 
  774.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  775.     xntp time should always be within a few "milliseconds" of the
  776.     actual time. Xntp does not require a "atomic" clock, any
  777.     stable UNIX host clock will do.
  778.  
  779.     xntp is available from udel.edu. Get the file /pub/ntp/xntp3.tar.Z
  780.  
  781.     xntp works with all versions of SunOS(4.x and 5.x).
  782.  
  783.     Note: There is a Mac version of XNTP now available.
  784.  
  785. 22)    What is the phone number for Sun Express and other numbers of importance
  786.     to Sun Users? 
  787.  
  788.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  789.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  790.  
  791.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  792.                             Santa Clara, CA 95054
  793.                             (800) 735-3177 or (408) 492-0900
  794.                                 Fax: (408) 492-0909
  795.     
  796.  
  797. 23)     How do I join sun related  mailing lists?
  798.  
  799.     Mailing Lists:
  800.  
  801.     Sun Managers:    Used for "emergency" information only. The
  802.             users of this list are "very" knowledgable.
  803.         sun-managers-request@eecs.nwu.edu    add requests
  804.         sun-managers@eecs.nwu.edu        submissions
  805.  
  806.         Sun-386i:   discussion about the Sun 386i product
  807.             sun-386i-request@ssg.com        add requests
  808.             sun-386i@ssg.com                    submissions
  809.  
  810.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  811.                         systems at home
  812.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  813.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  814.  
  815.         Auspex:  managers of Auspex NFS file servers
  816.             auspex-request@princeton.edu                    add requests
  817.             auspex@princeton.edu                            submissions
  818.  
  819.         Epoch:  managers of Epoch NFS file servers       
  820.             EPoch Users Forum  (EPUF)             
  821.             epuf-request@mcs.anl.gov                        add requests 
  822.             epuf@mcs.anl.gov                                submissions
  823.  
  824.     sun-flash: Provides articles about Sun products 
  825.            and services.
  826.  
  827.         Subscription request should be sent to
  828.             sunflash-request@sunvice.East.Sun.COM
  829.  
  830.  
  831.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  832.              send mail to the REQUEST address!  Do not send add requests 
  833.          to the main address!
  834.  
  835.  
  836. 24)    How do I use Mac floppies in a SUN drive?
  837.     
  838.     The easiest way is to use suntar on the Macintosh to
  839.     copy files to a "high density" floppy.  Then you can use 
  840.     "tar" on the Sun to get the files off the floppy.
  841.  
  842.     It is available from sumex-aim.stanford.edu. Get the file
  843.     /info-mac/util/suntar-131.hqx
  844.  
  845.     Also, you could use the Apple File Exchanger to translate
  846.     the files to MS-DOS format. Then use one of the methods
  847.     for transferring MS-DOS disks to Sun.
  848.  
  849.  
  850.     Note: There are  several commercial packages available for
  851.           this purpose.
  852.  
  853.           Also, low density Mac floppies are not comparable with
  854.           low density Sun floppies. 
  855.  
  856.  
  857. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  858.  
  859.     There are two packages which allow you to do this(mtools and mntdisk).
  860.     Both of these packages use the 3-1/2inch floppy drive available
  861.         on most SPARCstations. With the advent of the Volume manager
  862.     in Solaris2.2 these programs have been rendered somewhat obsolete.
  863.  
  864.     Mtools writes directly to the floppy device and it does not
  865.     require special privileges. It is faster than mntdisk
  866.     but it requires the user to learn a new set of commands.
  867.     A copy of mtools can be found on thor.ece.uc.edu. Get
  868.     the file  /pub/sun-faq/mtools-2.0.7.tar.Z
  869.  
  870.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  871.     mounted you can use regular UNIX commands(cp,mv,and rm)
  872.     to access it. The pcfs filesystem is quite slow compared
  873.     to using mtools above.  Mntdisk is available in your local 
  874.     comp.sources.misc archive, Volume 22, Issues 31-33. 
  875.     Mntdsk can be used to mount CD-ROMS and even UFS floppies.
  876.  
  877.     Note:    You should not use "setuid" shell scripts for
  878.         mounting floppies.
  879.  
  880.  
  881. 26)    Why is my biff not "biffing" when using biff in a networked
  882.     environment?
  883.  
  884.     In its current form comsat/biff are only usable on the mail
  885.     server. You need to replace them network capable programs.
  886.  
  887.     A shar file containing network capable versions of comsat
  888.     and biff is available from thor.ece.uc.edu. Get the
  889.     file /pub/sun-faq/biff-comsat.
  890.  
  891. 27)    How do I disable L1-A(STOP-A) or re-map it?
  892.  
  893.     You need to get one of the many re-mapping programs. Two
  894.     of these are available from thor.ece.uc.edu. Get the file
  895.     disable-L1-A.tar.Z
  896.  
  897. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  898.  
  899.     There is a known problem with sendmail and frozen config
  900.     files under 4.1.2.
  901.  
  902.     The fix is to remove /etc/sendmail.fc. Also, You could 
  903.     try moving it to the end of /etc/rc.local.
  904.     
  905.     However, the best "fix" may be to install the new Berkeley 
  906.     Sendmail it has a number of enhancements, performance
  907.     improvements, and security enhancements.
  908.     
  909.     You can get Berkeley sendmail from ftp.cs.berkeley.edu(128.32.149.78).
  910.     Get the following files: /ucb/sendmail/*8*6*4*
  911.                  /ucb/4bsd/db.tar.Z
  912.     Also, you will need bind 4.9 and it can be found on
  913.     gatekeeper.dec.com(16.1.0.2) in the /pub/BSD/bind/4.9
  914.     directory.
  915.  
  916.     Finally, if you do not want to build the Berkeley sendmail for
  917.     yourself I will be willing to mail you a copy.
  918.  
  919. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  920.  
  921.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    filesystem
  922.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   filesystem
  923.                           
  924.     Note: Under 4.1.2 and above you should use rst8. Previous
  925.           versions did not do anything special for the 8500.
  926.  
  927.     Note: These parameters are not needed for 5.1.x because
  928.           it computes these values from the type of Tape Drive
  929.           you are using. Also, 5.1.x knows about end of tape
  930.           and does the right thing when it reaches it.
  931.  
  932. 30)    What are the guidelines for setting up swap space ?
  933.  
  934.     In SunOS 4.x the amount of swap space and Virutal memory 
  935.     are one in the same so you need at least as much swap
  936.     as real memory.
  937.  
  938.     In SunOS 5.x the amount of Virutal memory is equal
  939.     swap space plus real memory. Under SunOS 5.x you
  940.     can actually get away with having no swap space at
  941.     all. We are running a SPARCserver 1000 with no swap
  942.     and 192-Meg of real memory.
  943.  
  944.     The old rule of thumb is 1.5 to 2 times real memory. This
  945.     can lead to wasted disk space(by having too much swap
  946.     space) or to not having enough. What you need to do
  947.     is to estimate your swap space needs.
  948.  
  949.     Note: This question is still being worked on.
  950.  
  951.  
  952. 31)    What are the general guidelines for maxusers to be set to on machine X?
  953.  
  954.     This question is being written.
  955.  
  956. 32)    What does "zsN: silo overflow" mean?
  957.  
  958.         The CPU serial ports - both ordinary serial ports A and B, and
  959.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  960.         chip.  That chip has a 3-character on-board buffer called the
  961.         "silo".  If a character arrives in the silo, the chip interrupts
  962.         the CPU at a high priority, and the interrupt service routine
  963.         reads the character out of the silo.
  964.  
  965.         If the interrupt isn't serviced in time, more than 3 characters
  966.         can be placed in the silo by the chip; if so, the chip notes
  967.         that the silo "overflowed", and the interrupt service routine,
  968.         when called, will note that a "silo overflow" occurred.
  969.  
  970.         If the machine is printing a message from the kernel, interrupts
  971.         from the chip will be held off; if the message takes long enough
  972.         to print, and characters are coming in quickly enough on the
  973.         serial port, more than 3 can arrive, and a "silo overflow" will
  974.         occur.
  975.  
  976.         It is possible that a machine that's sufficiently busy in other
  977.         code that runs with interrupts held off could get a silo
  978.         overflow as well.
  979.  
  980. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  981.     signify?
  982.  
  983.         The name "zsN" is ambiguous.
  984.  
  985.         In kernel "config" files, and in the boot-time autoconfig
  986.         messages, "zs0" is the first on-board Z8530 chip, the two
  987.         channels of which handle "ttya" and "ttyb", respectively, and
  988.         "zs1" is the second on-board Z8530 chip, the two channels of
  989.         which handle the keyboard and mouse ports, respectively.
  990.  
  991.         In "zsN: silo overflow" messages and the like:
  992.  
  993.                 "zs0" is the A channel on the first on-board Z8530, handling
  994.                     "ttya";
  995.  
  996.                 "zs1" is the B channel on the first on-board Z8530, handling
  997.                     "ttyb";
  998.  
  999.                 "zs2" is the A channel on the second on-board Z8530, handling
  1000.                     the keyboard;
  1001.  
  1002.                 "zs3" is the B channel on the second on-board Z8530, handling
  1003.                     the mouse.
  1004.  
  1005.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  1006.         overflow" error is for "ttyb", not for the keyboard or mouse.
  1007.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  1008.         overflows are "zs3: silo overflow".
  1009.  
  1010.  
  1011. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  1012.  
  1013.         You need to read Chapter 11 in  the "Systems and Network 
  1014.     Administration" manual.
  1015.  
  1016.  
  1017. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  1018.     connection to some non-Sun machine; it won't log in.  What's wrong?
  1019.  
  1020.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  1021.         into another machine.  If the other machine is running in 8
  1022.         bits, no parity, mode, the fact that the 8th bit is set on some
  1023.         of the characters the Sun is sending to it will confuse it.
  1024.  
  1025.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  1026.         the appropriate place in the appropriate UUCP configuration file
  1027.         [I may have been the one to put P_ZERO there, but I forget the
  1028.         details; it's in the send-expect sequence in the Systems file
  1029.         entry for the machine, and I think you have an "expect" string
  1030.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  1031.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  1032.         "Systems and Network Administration" document to make sure.]
  1033.  
  1034.  
  1035. 36)    Do the Sun serial ports support RTS/CTS flow control?
  1036.  
  1037.         The serial port hardware can do CTS-based control of the flow of
  1038.         data *from* the Sun *out* the serial port automatically.  The
  1039.         tty driver option for that is the CRTSCTS option; it can be
  1040.         specified in:
  1041.  
  1042.                 the "printcap" "ms" capability for a printer;
  1043.  
  1044.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  1045.                 for a dial-in port;
  1046.  
  1047.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  1048.                 [check the UUCP documentation for details];
  1049.  
  1050.         and can be specified with the "hf" capability in "/etc/remote"
  1051.         for "tip".
  1052.  
  1053.         The hardware cannot directly do RTS-based control of the flow of
  1054.         data *into* the Sun, and the software does not currently support
  1055.         controlling the flow of data into the Sun with RTS.
  1056.  
  1057.         NOTE: the EEPROM options in newer Suns do not affect the flow
  1058.  
  1059.         control performed by the OS; in fact, the OS ignores the
  1060.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  1061.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  1062.         set them to change the way the OS handles the tty, and even if
  1063.         you do set them, it won't change the way the OS handles the tty.
  1064.  
  1065.     Sun has released a new jumbo tty patch 100513-04 for SunOS 4.1.2 
  1066.     and 4.1.3 that incorporates changes to the tty driver to
  1067.     support RTS/CTS handshaking. Anyone trying to get RTS/CTS
  1068.     handshaking to work should get this patch.
  1069.  
  1070.  
  1071. 37)    How do I specify that a serial port should, or should not, ignore the
  1072.     state of the Carrier Detect line?
  1073.  
  1074.         Prior to SunOS 4.1, you do so either by:
  1075.  
  1076.                 changing the "flags" field for the serial port device in the
  1077.                 kernel "config" file, re-running "config", rebuilding
  1078.                 the kernel, and rebooting with the new kernel;
  1079.  
  1080.         or, on the Sun-4c machines:
  1081.  
  1082.                 changing the setting of the "ttya-ignore-cd" or
  1083.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1084.                 the CPU serial ports.
  1085.  
  1086.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1087.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1088.         port in question to have the "local" attribute if CD is to be
  1089.         ignored, or not to have it if CD is not to be ignored, and
  1090.         running the "ttysoftcar" command to tell the kernel that the
  1091.         status of the "ignore CD" flag should be changed.
  1092.  
  1093.         In 4.1, there's no need to change the EEPROM setting to change
  1094.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1095.         the only reason why it'd be necessary.
  1096.  
  1097. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1098.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1099.  
  1100.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1101.         "vi", because that version of "vi" supports 8-bit character
  1102.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1103.         have to change the "terminfo" entry for the terminal.
  1104.  
  1105.         You may first have to convert the compiled "terminfo" entry to a
  1106.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1107.         the text of the "terminfo" entry for the terminal
  1108.         <terminal-type> to its standard output.
  1109.  
  1110.         If you already have a "termcap" entry, you can convert it to a
  1111.         "terminfo" entry with "/usr/5bin/captoinfo".
  1112.  
  1113.         A text "terminfo" entry must be recompiled in order for programs
  1114.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1115.  
  1116. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1117.     Control, and Esc keys inconvenient.  How do I remedy this?
  1118.  
  1119.         Well, one remedy may be to buy the "UNIX layout" version of the
  1120.         Type 5; this option seems, unfortunately, to be little-known to
  1121.         Sun customers, and Sun may not be promoting it as they should.
  1122.         That keyboard has a layout much more friendly to the traditional
  1123.         UNIX user than do the normal PC-style layouts for the Type 5.
  1124.  
  1125.         If you don't have that option, you can use the appropriate
  1126.         program to reprogram the keys; see the next question.
  1127.  
  1128. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1129.     Caps Lock and Control keys on a Type 5 keyboard?
  1130.  
  1131.         It depends on which window system you're running, if any.
  1132.  
  1133.         If you're not using any window system, or you're using a window
  1134.         system such as SunView that uses the OS's keyboard event
  1135.         translation mechanism, you can dump the tables used by the OS's
  1136.         keyboard event translation mechanism with the "dumpkeys"
  1137.         command, and load changes to that table with the "loadkeys"
  1138.         command; see LOADKEYS(1).
  1139.  
  1140.         If you're using X11 - either in its MIT incarnation, or Sun's
  1141.         Open Windows incarnation - or some other window system that
  1142.         shuts off the OS's keyboard event translation mechanism, you
  1143.         need to use the window system's commands, if any, for that
  1144.         function.
  1145.  
  1146.         In X11, the command for that is "xmodmap"; its translation
  1147.         tables can be printed with "xmodmap -pk", and changes to that
  1148.         table can be loaded with "xmodmap" as well.
  1149.  
  1150.         NOTE: in the particular case of the Control and Caps Lock keys,
  1151.         while MIT X appears to handle interchanging those two keys
  1152.         correctly, so that the new Caps Lock key is a toggle and the new
  1153.         Control key is not, some versions of Open Windows do not - even
  1154.         though the keys have had their mappings exchanged, the window
  1155.         system server still thinks that the *old* Caps Lock key, which
  1156.         is now the Control key, should be a toggle, and that the *old*
  1157.         Control key, which is now the Caps Lock key, should not be a
  1158.         toggle.
  1159.     [Here is a work-around for this problem, provided by Mark Plotnick
  1160.     (mp@allegra.att.COM)]:
  1161.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1162.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1163.     attributes field to N or P depending on whether the key should have 
  1164.     "pseudolock".
  1165.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1166.     78,79c78,79
  1167.     < lock  119                     # CapsLock
  1168.     < control        76                     # Control
  1169.     ---
  1170.     > lock   76                     # CapsLock
  1171.     > control       119                     # Control
  1172.     226c226
  1173.     < 76    NN      XK_Control_L
  1174.     ---
  1175.     > 76    NP      XK_Caps_Lock
  1176.     278c278
  1177.     < 119   NP      XK_Caps_Lock
  1178.     ---
  1179.     > 119   NN      XK_Control_L
  1180.  
  1181.  
  1182. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1183.  
  1184.         SunOS releases prior to 5.x come with a C compiler. However,
  1185.         it was an old compiler, and it didn't support ANSI C syntax or 
  1186.         ANSI C features.
  1187.  
  1188.     The SunSoft Catalyst CD #5 contains the binaries for the GNU C 
  1189.     compiler for Solaris 1.x and 2.x. You should get the latest
  1190.     version of GCC and compile it using this compiler. 
  1191.  
  1192.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1193.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1194.         full ANSI C environment, i.e. it doesn't necessarily include all
  1195.         the ANSI C include files or library routines); various other
  1196.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1197.  
  1198.         The Free Software Foundation's GCC also supports ANSI C syntax
  1199.         and ANSI C features. It can be FTP'ed in source form from many
  1200.         sites, and in binary form from some sites. 
  1201.  
  1202.     A compiled version of the latest GCC for SunOS 5.x is avaliable from 
  1203.     prep.ai.mit.edu. The directory containing these files is
  1204.  
  1205.         /pub/gnu/sparc-sun-solaris2
  1206.  
  1207.     You need to get the following files:
  1208.         
  1209.         gzip-binaries-1.x.x.tar    
  1210.         INSTALL.gcc
  1211.         gcc-binaries-2.x.x.tar.gz
  1212.  
  1213.     Note: You need the gzip binaries to ungzip the gcc binaries.
  1214.  
  1215.     After obtaining GCC, you will need to run fixincludes. 
  1216.     The INSTALL.gcc file will tell you how.
  1217.  
  1218.     Note: The following sites mirror the GNU software distribution
  1219.           from prep.ai.mit.edu:
  1220.  
  1221.         ASIA:         utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  1222.                     cair.kaist.ac.kr:/pub/gnu
  1223.         AUSTRALIA:     archie.oz.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  1224.         AFRICA:     ftp.sun.ac.za:/pub/gnu
  1225.         MIDDLE-EAST:     ftp.technion.ac.il:/pub/unsupported/gnu
  1226.         EUROPE:     irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu,
  1227.               ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  1228.               src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ugle.unit.no,
  1229.             ftp.denet.dk, ftp.informatik.rwth-aachen.de:/pub/gnu,
  1230.             ftp.informatik.tu-muenchen.de, ftp.eunet.ch, 
  1231.             nic.switch.ch:/mirror/gnu, nic.funet.fi:/pub/gnu,
  1232.             isy.liu.se, ftp.stacken.kth.se,
  1233.             ftp.luth.se:/pub/unix/gnu, archive.eu.net
  1234.            CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  1235.         USA:     wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu,
  1236.           ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu,
  1237.           col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  1238.           gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu
  1239.  
  1240.  
  1241.     You should check the site close to you before ftping to
  1242.     prep.
  1243.  
  1244.  
  1245. 42)    How do I change the time zone setting on my machine?
  1246.  
  1247.         In releases prior to SunOS 4.0, you will have to reconfigure
  1248.         your kernel, recompile it, install the new kernel, and reboot.
  1249.         See the documentation on kernel configuration.
  1250.  
  1251.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1252.         command with the "-l" flag, with the appropriate time zone
  1253.         setting as the argument.  For example, to set the time zone to
  1254.         US Eastern Time, do:
  1255.  
  1256.                 zic -l US/Eastern
  1257.  
  1258.         to set it to the proper setting for Great Britain and Eire, do:
  1259.  
  1260.                 zic -l GB-Eire
  1261.  
  1262.         and so on.
  1263.  
  1264.         You will then probably want to reboot your machine, in order to:
  1265.  
  1266.                 1) cause any daemons started before the time zone was
  1267.                    changed to restart, and pick up the new time zone;
  1268.  
  1269.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1270.                    binaries, old programs not converted to use the new
  1271.                    routines to convert local time to UNIX time, and
  1272.                    Calendar Manager.
  1273.  
  1274.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1275.         to the appropriate time zone file, but there's really no point
  1276.         in doing so when "zic -l" will do that for you.
  1277.  
  1278.         In Solaris 2.x, you do it the same way you do it on any other
  1279.         SVR4 system - you put a line that says
  1280.  
  1281.                 TZ=<time zone name>
  1282.  
  1283.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1284.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1285.         also uses, although not all SVR4 systems supply the time zone
  1286.         files for it; Solaris 2.0 does.
  1287.  
  1288.  
  1289. 43)    I'm getting messages that say one of the following:
  1290.          proc: table is full    and/or
  1291.             file: table is full    and/or
  1292.             dquot: table is full     and/or
  1293.             inode: table is full
  1294.          What do these errors mean, and how do I fix the problem?
  1295.  
  1296.         In SunOS releases prior to 5.0, many tables in the system are
  1297.         allocated once at system startup time, with a fixed size, and do
  1298.         not grow in size.  If the system needs more entries than are
  1299.         present in that table to perform some operation, it can't
  1300.         perform the operation, and it will log a message and return a
  1301.         failure indication.
  1302.  
  1303.         The sizes of the tables in question are based on the "maxusers"
  1304.         value in the configuration file for your kernel; to increase the
  1305.         size of the table, change the configuration file for your kernel
  1306.         to have a larger "maxusers" value, re-run "config" on that file,
  1307.         rebuild the kernel, install the new kernel, and reboot.
  1308.  
  1309.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1310.         that table is dynamically allocated; SunOS 5.0 should
  1311.         dynamically allocate entries in most if not all of those tables.
  1312.  
  1313.        I did that, and I'm still getting that message.  What do I do now?
  1314.  
  1315.         Presumably, then, either:
  1316.  
  1317.                 1) you didn't increase "maxusers" enough
  1318.  
  1319.         or
  1320.  
  1321.                 2) some process is consuming resources from the table in
  1322.                    question without bound.
  1323.  
  1324.  
  1325.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1326.           all available process slots(except for the last 5). 
  1327.  
  1328.           If you are running out of process slots you may want to 
  1329.           change the kernel parameter that controls the maximum number
  1330.           of per user processes. You can change this in the param.c
  1331.           in /sys/conf.common. You will need to change the following
  1332.           define:
  1333.  
  1334.             #define MAXUPRC (NPROC - 5)
  1335.  
  1336.           to something more reansable like
  1337.  
  1338.             #define MAXUPRC (NPROC - 5)/2
  1339.  
  1340.           After making this change you should re-config and re-build
  1341.           your kernel.
  1342.  
  1343.         The "proc" table has one entry for every process on the system;
  1344.         if it's overflowing, some process on the system may be creating
  1345.         new processes over and over again.  If you can, do a "ps -ax" to
  1346.         see what processes are on the system, and see if that gives any
  1347.         clues as to what process, if any, is spawning those other
  1348.         processes.
  1349.         
  1350.  
  1351.         The "file" table has one entry for every "active file
  1352.         descriptor" on the system; each time an "open", "dup", "socket",
  1353.         etc. call is made, a new "active file descriptor" is required.
  1354.         There's no way of finding out what process or processes are
  1355.         consuming file descriptors that's as convenient as "ps" can be
  1356.         for finding out what process or processes are spawning additional
  1357.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1358.         of "active file descriptors", but it's tricky for the novice
  1359.         user, programmer, or administrator to interpret the output of
  1360.         "pstat -f", and that output doesn't indicate which processes are
  1361.         using a given "active file descriptor".
  1362.  
  1363. 44)     Blank at present.
  1364.  
  1365. 45)     How do I run both OpenWindows and MIT X11R5?
  1366.  
  1367.     Note: OW2 is compatible with X11R3+, OW3 is compatible with X11R4.
  1368.  
  1369.     To get X11R5(or R4) applications to run under Openwindows you will
  1370.     need to set the appropriate LD_LIBRARY_PATH. 
  1371.  
  1372.         Assuming you installed the MIT libraries in
  1373.         /usr/lib and the OpenWindows libraries are in
  1374.         /usr/openwin/lib, set the following before you start the
  1375.         windowing system:
  1376.  
  1377.         MIT X11R4 environment
  1378.  
  1379.                 set path = (/usr/bin/X11 $path)
  1380.                 setenv LD_LIBRARY_PATH /usr/lib
  1381.  
  1382.        OpenWindows
  1383.  
  1384.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1385.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1386.  
  1387.         You can also run clients from one environment under a different
  1388.         server on a one command at a time basis.  This example runs a
  1389.  
  1390.          OpenWindows client under the MIT server:
  1391.  
  1392.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1393.  
  1394.  
  1395.     A better way to handle this(in the long run) is to re-compile 
  1396.     the X server clients to include a "hard" coded shared library
  1397.     search path. You will need to link the clients with -L
  1398.     option.  For example, if your X11 libraries are installed
  1399.     in /usr/local/lib/X11 you will link your application by
  1400.  
  1401.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1402.  
  1403.     By doing this to all applications you can eliminate the need
  1404.     to set the LD_LIBRARY_PATH. 
  1405.  
  1406.     For applications that you do not have source for you should
  1407.     write a shell script wrapper similar to the following:
  1408.  
  1409.     #!/bin/sh
  1410.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1411.     /usr/local/bin/X11/xterm.bin $*
  1412.     
  1413.  
  1414.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1415.           available from prep.ai.mit.edu. 
  1416.  
  1417.  
  1418.         The OpenWindows server has the ability to display PostScript that
  1419.         several of the OpenWindows applications require to run.  Sun's
  1420.         AnswerBook is an example that requires PostScript.  These clients
  1421.         will not run under the MIT server.   
  1422.  
  1423.     You can get a limited PostScript preview capability under 
  1424.     either server with GNU Ghostscript, a GNU "copyleft" package
  1425.     available from various ftp sites.  
  1426.  
  1427.     Two enhanced versions of Ghostscript are also available,
  1428.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1429.         These programs are currently available via anonymous ftp:
  1430.  
  1431.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1432.         GSPreview   is on ftp.x.org (18.24.0.12) in /contrib
  1433.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1434.  
  1435.  
  1436. 46)    Where do I find a "restricted" shell for SunOS?
  1437.  
  1438.     /usr/lib/rsh is a "restricted" Bourne shell.
  1439.  
  1440.         This "restricted" shell is easy to break out of; consider
  1441.         that most editors have a shell scape, for example. Building
  1442.         a window-dressing restricted environment is easy; building
  1443.         a real restricted environment is hard.
  1444.  
  1445.  
  1446. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1447.  
  1448.         Yes they will, with some restrictions. The most significant is
  1449.         that the binary in question must have been "dynamically linked."
  1450.         Otherwise, you will get the message
  1451.  
  1452.         Bad system call (core dumped)
  1453.  
  1454.         immediately when starting the 4.1.x binary on SunOS5.
  1455.  
  1456.     As of SunOS 5.3 "statically" linked binaries will now run
  1457.     in binary compatabilty mode.
  1458.  
  1459.         Finally, bear in mind that there is a performance overhead for
  1460.         this "binary emulation"; each system call happens twice,
  1461.         once to trap into the emulation mode and again to get from
  1462.         there into the UNIX kernel. 
  1463.  
  1464.  
  1465. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1466.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1467.     _get_applicationShellWidgetClass). What is the Problem?
  1468.  
  1469.     There are problems with the Xmu shared library as shipped from Sun.
  1470.  
  1471.     There are two "fixes". One is to get the Openwindows patches
  1472.     that apply to this problem and the other is to "statically" link
  1473.     the Xmu library into the executable.
  1474.  
  1475.     The patches you will need are as follows:
  1476.  
  1477.         Patch i.d.      Bug i.d.'s      O/S     Description
  1478.         ----------      -------------------------------------------------------
  1479.         100512-02       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1480.             1074766         Jumbo patch
  1481.  
  1482.         100573-03       1087332         4.1.x OpenWindows 3.0 undefined
  1483.                         symbols when using shared
  1484.                         libXmu.
  1485.  
  1486.     To "statically" link your executable with libXmu modify the
  1487.     compile line as follows:
  1488.  
  1489.           -Bstatic -lXmu -Bdynamic 
  1490.  
  1491.  
  1492. 49)    What is Solaris?
  1493.     
  1494.     Solaris consists of the following facilities:
  1495.  
  1496.         1) SunOS 
  1497.         2) Openwindows
  1498.         3) Openwindows deskset tools
  1499.         4) ONC networking products and services(which includes NFS
  1500.            and NIS)
  1501.  
  1502.     Solaris is not an operating system but a "complete" user
  1503.     environment.
  1504.  
  1505.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1506.     Windows, and DeskSet versions:
  1507.  
  1508.           Solaris         SunOS           Open Windows    DeskSet
  1509.           1.0             4.1.1           2.0             2.0
  1510.           1.0.1           4.1.2           2.0             2.0
  1511.           1.1             4.1.3           3.0             3.0
  1512.           2.0             5.0             3.0.1           3.0.1
  1513.           2.1             5.1             3.1             3.1
  1514.           2.2             5.2             3.2             3.2
  1515.  
  1516.  
  1517. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1518.  
  1519.     This message is generating by Sun's resolver libraries and
  1520.     it is caused by incorrectly configured Domain Name 
  1521.     Server(the server that the resolver libraries are querying
  1522.     not necessarly the local Domain Name Server).
  1523.  
  1524.     The Domain Name Server probably lacks a reverse map entry for 
  1525.     that particular host. 
  1526.  
  1527.     Since this "bug" is closely associated with using ypserv,
  1528.     Sun has produced a patch to "ypserv" (bug #1039839). 
  1529.     Sun supplied a patch 100141-01 to quiet it, but the 
  1530.     patched version appears to die silently at random times,
  1531.     so Sun now has a new patch, 100141-02. Do not install this
  1532.     patch unless you are really getting a lot of these messages.
  1533.  
  1534.  
  1535. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1536.     how do I repair it?
  1537.  
  1538.     One of the LEDs on the under side of the mouse has probably 
  1539.     "burnt" out.
  1540.  
  1541.     You can probably repair it yourself(if you can get a replacement 
  1542.     LED and you know how to use a Soldering Iron) by following
  1543.     a set of directions available from thor.ece.uc.edu. Get the
  1544.     file /pub/sun-faq/mouse.fix.
  1545.  
  1546.     Finally, you should try turning your mouse pad 90 degrees and
  1547.     see if that corrects the problem.
  1548.  
  1549.         Note: Also, you may have one of the bad mice that came with
  1550.           early SS-1 shipments.  The LED on the underside of the 
  1551.           mouse can fail.  Request a replacement from Sun.
  1552.     
  1553.  
  1554. 52)    After rebuilding the shared library libc it get some or all the 
  1555.     following undefined symbols: dlsym, dlopen, dlclose, mbstowcs_xccs,
  1556.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  1557.  
  1558.  
  1559.     If you have just installed a new shared library under 4.1.2 or
  1560.     greater you need to modify the Makefile for the shared libraries
  1561.     and re-install. You will need to change the following line
  1562.  
  1563.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1564.     to read 
  1565.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1566.  
  1567.     Note: You should change both such lines.
  1568.  
  1569.      Also, you may need to do a mv xccs.multibyte. xccs.multibyte.o
  1570.     to eliminate the  mbstowcs_xccs, mbtowc_xccs, wcstombs_xccs,
  1571.     or wctomb_xccs symbols errors.
  1572.  
  1573.     The above can occur under SunOS 4.1.1 if you have installed 
  1574.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1575.  
  1576.  
  1577. 53)    What does "No network locking on host" mean after upgrading to
  1578.     Solaris 2.0?
  1579.  
  1580.     Your SunOS 4.x(or above) machines are running an old version
  1581.     of rpc.lockd. You need to get and install patch number 
  1582.     100075-11 or greater to correct this problem.
  1583.  
  1584. 54)    Does Password Aging work with NIS(YP) ?
  1585.  
  1586.     Sun does not support password aging under NIS(OS version
  1587.     to 4.1.3). The rpc.yppasswdd needs to modified to make
  1588.     password aging work. 
  1589.  
  1590.     Password aging will only work under SunOS 5.3(Solaris2.3) 
  1591.     with NIS+.
  1592.  
  1593. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1594.     
  1595.     For some reason rpc.lockd can not talk to rpc.statd. 
  1596.  
  1597.     Check to see if rpc.statd is running. If rpc.statd
  1598.     is not running re-start it. If rpc.statd is running, 
  1599.     kill it and restart it. 
  1600.  
  1601.     To get rpc.statd to re-start you may need to
  1602.     remove the /etc/sm and /etc/sm.bak directories.
  1603.  
  1604. 56)    How do I join the Sun User Group(SUG)?
  1605.  
  1606.     Here is the information on joining SUG.
  1607.  
  1608.         Sun User Group, Inc.
  1609.         1330 Beacon Street, Suite 315
  1610.         Brookline, MA 02146
  1611.         USA
  1612.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1613.         office@sug.org 
  1614.  
  1615.     With your membership you get the following:
  1616.         
  1617.         *  Vendor Discounts
  1618.         *  Technical Conferences
  1619.         *  Software Distribution
  1620.         *  README Newsletter
  1621.         *  Annual Exhibits
  1622.         *  Local User Group Support
  1623.         *  Newsgroup comp.org.sug 
  1624.  
  1625.  
  1626. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  1627.  
  1628.     For SunOS4.1.x:
  1629.  
  1630.     To add more ptys you must install a new kernel. 
  1631.  
  1632.     The default number of "ptys" is  48.  To get more "ptys" 
  1633.     change the kernel config line "pseudo-device pty" to 
  1634.     "pseudo-device pty#" where '#" is the number of "ptys"
  1635.     you want. 
  1636.  
  1637.     Be warned the maximum number you can have is 256.
  1638.  
  1639.     You will need to run /dev/MAKEDEV pty[0-5] to create
  1640.     /dev/ entries.
  1641.  
  1642.     For SunOS5.x:
  1643.  
  1644.     In /etc/system, add the line:
  1645.  
  1646.             set pt_cnt=nnn     -- nnn can have a value up to 255.
  1647.     touch /reconfigure
  1648.     and reboot using 'init 6'.
  1649.  
  1650.     For BSD style ptys set npty in /etc/system to the desired 
  1651.     value(ie set npty=64).  You may need to make the ptys by
  1652.     hand and you will need to make likes from /dev to /devices for 
  1653.     these devices.  Finally, you will need to edit /etc/iu.ap to
  1654.     automatically push the appropriate streams compatibility modules
  1655.         onto the new devices. You need to replace the line reading
  1656.             "ptsl 0 15 ldterm ttcompat"
  1657.     with
  1658.             "ptsl 0 <NUM> ldterm ttcompat"
  1659.     where <NUM> was one less than the number of compatibility ptys you
  1660.     need.
  1661.  
  1662.  
  1663. 58)    Where are dump and restore under Solaris 2.x?
  1664.  
  1665.     dump is now called /usr/sbin/ufsdump
  1666.     restore is now called /usr/sbin/ufsrestore
  1667.  
  1668. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  1669.  
  1670.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  1671.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  1672.         patch 100713-01 or later.
  1673.  
  1674. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  1675.     under Openwindows 3.0?
  1676.  
  1677.         Don't do it with xmodmap, since that won't change the locking
  1678.         behaviour of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  1679.         There are two places where keys 119 (CapsLock) and 76 (Control)
  1680.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  1681.         The latter is most important, because that's where the
  1682.         "Pseudo-Lock" function (which controls the locking behaviour of
  1683.         the key) is defined.
  1684.  
  1685. 61)    Which Sun models run which versions of SunOS?
  1686.  
  1687.         Sun2: SunOS 4.0.3 or earlier.
  1688.         Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  1689.         Sun3: SunOS 4.1.1_U1 or earlier.
  1690.         4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  1691.         4/300 series: SunOS 4.0.3 or later.
  1692.         4/400 series: SunOS 4.1PSR_A or later.
  1693.         600 models 120, 140: SunOS 4.1.2 or later.
  1694.         600 model 41, 51: SunOS 4.1.3 or later.
  1695.         600 models 412, 512, 514: SunOS 5.1 or later.
  1696.         SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3c or later.
  1697.         SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  1698.         SPARCstation 10 models 20, 30, 41: SunOS 4.1.3 or later.
  1699.         SPARCstation 10 models 52, 54: SunOS 5.1 or later.
  1700.         SPARCclassic, SPARCstation LX: SunOS 4.1.3C or SunOS 5.1 or later.
  1701.     SPARCserver 1000, SPARCcenter 2000: SunOS 5.2 or later
  1702.  
  1703.     To be able to run 4.1.3 on the SPARCclassic you need to get
  1704.     SunOS 4.1.3 rev C from Sun. 
  1705.  
  1706.     Note: the final SunOS version for 4.1.3 is 4.1.3_U1 or Solaris1.1.1
  1707.           and supports the Classic and LX as well.
  1708.         
  1709.  
  1710.     SuperSPARC multi-processor machines are not supported in SunOS 4.1.x.
  1711.     You will need SunOS 5.1 or later.
  1712.  
  1713.         SunOS 5.0 only runs on SS1,1+,2,SLC,IPC,ELC,IPX.
  1714.  
  1715.         SunOS 5.1 runs on all Sun4s and SPARCstations, but the FPU's on
  1716.         the 4/100 and 4/200 series machines are disabled.
  1717.  
  1718. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  1719.  
  1720.         The problem produces output like the following:
  1721.  
  1722.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  1723.           DUMP: Date of last level 0 dump: the epoch
  1724.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  1725.           DUMP: mapping (Pass I) [regular files]
  1726.           DUMP: mapping (Pass II) [directories]
  1727.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  1728.           DUMP: Protocol to remote tape server botched (in rmtgets).
  1729.          rdump: Lost connection to remote host.
  1730.           DUMP: Bad return code from dump: 1
  1731.  
  1732.         This occurs when something in .cshrc on the remote machine prints
  1733.         something to stdout or stderr (eg. stty, echo). The rdump command
  1734.         doesn't expect this, and chokes. Other commands which use the rsh
  1735.         protocol (eg. rdist, rtar) may also be affected.
  1736.  
  1737.         The way to get around this is to add the following line near the
  1738.         beginning of .cshrc, before any command that might send something
  1739.         to stdout or stderr:
  1740.  
  1741.         if ( ! $?prompt ) exit
  1742.  
  1743.         This causes .cshrc to exit when prompt isn't set, which
  1744.         distinguishes between remote commands (eg. rdump, rsh) where these
  1745.         variables are not set, and interactive sessions (eg. rlogin) where
  1746.         they are.
  1747.  
  1748.  
  1749. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  1750.         
  1751.         SunOS 4.x          SunOS 5.x             
  1752.         Command            Equivalent               
  1753.         
  1754.         add_services       pkgadd                      
  1755.         arch               uname -m                  
  1756.                    Note: This returns the kernel architecture.
  1757.         bar                Not available. Use   
  1758.                            cpio -H bar to retrieve
  1759.                    4.x archives.
  1760.         
  1761.         biff -y            chmod o+x /dev/tty
  1762.         biff -n            chmod o-x /dev/tty
  1763.         cc                 Not available
  1764.         dbxtool            debugger
  1765.         devinfo           prtconf
  1766.         df                 df -k
  1767.         dkctl              Not available
  1768.         dkinfo             prtvtoc
  1769.         du                 du -k
  1770.         dump               /usr/sbin/ufsdump
  1771.         dumpfs             Not available
  1772.         etherfind          snoop
  1773.         exportfs           share
  1774.         extract_files      Not available
  1775.         extract_patch      Not available
  1776.         extract_unbundled  pkgadd
  1777.         fastboot           reboot or init 6
  1778.         fasthalt           init O
  1779.         hostid             sysdef -h
  1780.         hostname           uname -n
  1781.         intr               Not available
  1782.         leave              Use cron and at
  1783.         lint               Not available
  1784.         load                 pkgadd
  1785.         loadc                pkgadd
  1786.         load_package         Not available
  1787.         lpc                  lpadmin
  1788.         lpd                  lpsched
  1789.         lpq                  lpstat
  1790.         lpr                  lp
  1791.         lprm                 cancel
  1792.         lptest               Not available
  1793.         mach                 uname  -p
  1794.         modstat              modinfo
  1795.         mount                mount  -F <fstype> [options]
  1796.         mountall             mount -a
  1797.         mount_tfs            mount  -F <fstype>
  1798.         pax                  cpio
  1799.         paxcpio              cpio
  1800.         portmap              rpcbind
  1801.         printenv             env
  1802.         ps -a                ps -e
  1803.         ps -aux              ps -el
  1804.          Note: when ps is  invoked without the "-f" flag, the SV
  1805.              "ps" prints  only the first N characters of the name 
  1806.              of the program being run. You have to pass the "-f" 
  1807.              flag to get the full command line. For example, try
  1808.              ps -fe.
  1809.  
  1810.         pstat                sar
  1811.         pstat -s             swap -s
  1812.         rdump                /usr/sbin/ufsdump
  1813.         restore              /usr/sbin/ufsrestore
  1814.         rm_client            admintool
  1815.         rm_services          Not available
  1816.         rpc.etherd           Not available
  1817.         rpc.lockd          /usr/lib/nfs/lockd         
  1818.         rpc.mountd         /usr/lib/nfs/mountd        
  1819.         rpc.rexd           /usr/sbin/rpc.rexd
  1820.         rpc.rquotad        /usr/sbin/rpc.rquotad
  1821.         rpc.showfhd        Not available
  1822.         rpc.statd          /usr/lib/nfs/statd         
  1823.         rpc.user_agentd    Not available 
  1824.         rpc.yppasswdd      Not available 
  1825.         rpc.ypupdated      ypupdated     
  1826.         rrestore            /usr/sbin/ufsrestore    
  1827.         rusage             Not available 
  1828.         showmount          dfmounts 
  1829.         swapon                swap -a        
  1830.         sys-config       admintool
  1831.         umount -a        umountall         
  1832.         umount_tfs       umount -F <fstype>
  1833.         unload             pkgrm
  1834.         update             fsflush
  1835.         uptime            who -b
  1836.         users              who -q
  1837.         vipw               Not available
  1838.         wall               /usr/sbin/wall
  1839.         whereis            Not available
  1840.         whoami             id
  1841.         ypbatchupd         Not available
  1842.         yppasswd           Use nispasswd for NIS+
  1843.         ypserv             Not available
  1844.  
  1845.     Notes:  A NIS server is no longer available under Solaris2.x.
  1846.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  1847.         for useful programs and commands. Finally, some of
  1848.         missing commands are in the BSD Compatibility package.
  1849.  
  1850.     
  1851.     
  1852. 64)     How do I setup DNS on Solaris2.x?
  1853.  
  1854.     The "Setting up DNS clients" chapter of that manual is egregiously 
  1855.     out of date.  Yes, there's a bug filed against it.  
  1856.     The correct procedure is the following:
  1857.  
  1858.            Create a /etc/resolv.conf file.
  1859.  
  1860.            Change /etc/nsswitch.conf;  it's probably easiest 
  1861.     to start with the sample file "/etc/nsswitch.files" and change 
  1862.     the entry for "hosts" to the following:
  1863.  
  1864.                 hosts: files dns
  1865.  
  1866.            Processes that have already read /etc/nsswitch.conf won't see your
  1867.     changes until they're restarted.  If you care, the crude but effective
  1868.     approach is to reboot.
  1869.  
  1870. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  1871.  
  1872.     No it won't run 4.1.3. However, Sun will provide you with
  1873.     a copy Solaris1.1C(4.1.3C) which will allow you to run
  1874.     "4.1.3" on a LX or Classic.. 
  1875.  
  1876.     The cost is around $125 for the media and $100 for the RTU
  1877.     license.
  1878.  
  1879.     4.1.3C will be available sometime in August of 1993.
  1880.  
  1881.     Note: The last release of SunOS 4.1.x(SunOS 4.1.3_U1 or Solaris1.1.1)
  1882.           will run on all SunOS 4.1.x supported machines including
  1883.           the Classic and LX. See question 61 for more details.
  1884.  
  1885. 66)    I just restored my root partation and now I can not boot. What
  1886.     is wrong?
  1887.  
  1888.     You probably need to run installboot. Something like this
  1889.     should work.
  1890.  
  1891.         cd /usr/mdec 
  1892.         ./installboot -vlt /boot bootsd /dev/rsd0a
  1893.  
  1894. 67)    How do I disable/enable packet forwarding?
  1895.  
  1896.     Under 4.1 and above(does not include SunOS 5.x), 
  1897.     you can do this by using one of the following methods:
  1898.  
  1899.      adb -k -w /vmunix /dev/mem
  1900.     ip_forwarding?
  1901.     _ip_forwarding:
  1902.     _ip_forwarding: 0               = unimp         0x0
  1903.  
  1904.     ip_forwarding/w -1      <- changes in running kernel only!
  1905.     ip_forwarding?w -1      <- changes running kernel and disk image
  1906.  
  1907.     or 
  1908.  
  1909.     In your kernel configuration file, insert the following line:
  1910.  
  1911.     options "IPFORWARDING=-1"
  1912.  
  1913.     Note: The above example disables packet forwarding.
  1914.  
  1915.     Here is a list of IP forwarding options
  1916.     (from /usr/kvm/sys/netinet/in_proto.c) 
  1917.         ip_forwarding = -1  -- never forward; never change this value.
  1918.         ip_forwarding =  0  -- don't forward; set this value to 1 
  1919.                        when two interfaces are up.
  1920.             ip_forwarding =  1  -- always forward.
  1921.  
  1922.  
  1923. 68)    How do I disable the printing of banners pages?
  1924.     
  1925.     Under SunOS 4.x you need to do the following:
  1926.     
  1927.         Put :sh: in the /etc/printcap entry
  1928.         for that printer.
  1929.  
  1930.     For SPARCprinters you will need to edit the .param for that 
  1931.     printer. Under SunOS4.x you this file is located in the spool
  1932.     directory for that particular printer. Under SunOS5.x
  1933.     it is located under /etc/lp/printers/PRINTERNAME.
  1934.     Change the line BANNERPS=${DEFBANNER}; export BANNERPS
  1935.             to
  1936.             BANNERPS=; export BANNERPS
  1937.  
  1938.     Also, you may want to turn off Job Log printing. You can do
  1939.     this by changing the line PRINTJOBLOG=yes; export PRINTJOBLOG
  1940.             to
  1941.                   PRINTJOBLOG=no; export PRINTJOBLOG
  1942.  
  1943.  
  1944.     If you want to disable the banner pages permanently you
  1945.     will need to perform the following steps:
  1946.  
  1947.         1. cd /usr/lib/lp/model
  1948.         2. cp standard standard-nobanner
  1949.         3. Use your favorite editor to edit standard-nobanner.
  1950.            Change line 332 from:
  1951.                 nobanner="no"
  1952.            to:
  1953.                 nobanner="yes"
  1954.         4. lpadmin -p PRINTERNAME -m standard-nobanner
  1955.  
  1956.     For a large network you can make this easier by copying a 
  1957.     custom interface script at install time and doing the appropriate 
  1958.     lpadmin command.
  1959.  
  1960.         
  1961.  
  1962. 69)    How do I change my hostname?
  1963.  
  1964.     Under SunOS 4.x you need to do the following:
  1965.  
  1966.         Edit you /etc/hosts file and change your
  1967.         local hostname. To avoid problems during
  1968.         the transistion you may want to add this
  1969.         as an hostname alias.
  1970.  
  1971.         If you are running NIS you should change the
  1972.         /etc/hosts file on the master too.
  1973.  
  1974.         Change the hostname in /etc/hostname.xxx.
  1975.         Where xxx is the interface you want to change
  1976.         the address on.
  1977.         
  1978.  
  1979.     Under SunOS 5.x you need to the above plus
  1980.     change /etc/nodename. 
  1981.  
  1982.         Note: /etc/hostname.xxx should use the short
  1983.               name under SunOS 5.x or you will
  1984.               get warning messages when booting.
  1985.  
  1986. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  1987.  
  1988.     SunOS 4.x file        SunOS 5.x file
  1989.     /etc/fstab        /etc/vfstab
  1990.     /etc/exports        /etc/dfs/dfstab
  1991.     /etc/printcap        None
  1992.     /etc/fbtab         /etc/logindevperm   -- available in SunOS 5.3
  1993.     /etc/rc.local        /etc/rc3.d/S99local -- See note 1.
  1994.  
  1995.  
  1996.     Note 1:  Here is a template file for /etc/rc3.d/S99local.
  1997.  
  1998.     #!/bin/sh
  1999.  
  2000.     state=$1
  2001.     case $state in
  2002.     
  2003.     # Any applications or daemons you want to start.
  2004.     'start')
  2005.         echo "starting local apps"
  2006.         ;;
  2007.     # Any applications or daemons that need to be shutdown gracefully.
  2008.     'stop')
  2009.         echo "Stopping local apps"
  2010.         ;;
  2011.     esac
  2012.  
  2013.  
  2014.     You may need to put the "kill" script in /etc/rc2.d/K99local but it
  2015.     is not really required.
  2016.  
  2017.  
  2018. 71)    Where can I get the BSD print spooler for Solaris2.x?     
  2019.     You can get lpr-sol2.tar.gz or lpr-sol2.tar.Z
  2020.     from the following sites:
  2021.  
  2022.         sunok-wks.acs.ohio-state.edu:/pub/solaris2/src/lpr-sol2.tar.gz
  2023.         atlas.ce.washington.edu:/pub/lpr-sol2.tar.Z
  2024.         solomon.technet.sg:/pub/uploads/unix/lpr-sol2.tar.gz
  2025.  
  2026. 72)     Where is the Solaris2.x screenblank?
  2027.  
  2028.     You can either run the 4.1.x screenblank in compatabilty
  2029.     mode or you can compile you own from sources available
  2030.     on thor.ece.uc.edu. Get the file /pub/sun-faq/screenblank_21dec93.tar.Z. 
  2031. 73)     Is there a command to display the configuration of 
  2032.     currentily attached SCSI devices?
  2033.     
  2034.     SCSIinfo will do this. Get scsiinfo-2.0.shar from thor.ece.uc.edu
  2035.     in the /pub/sun-faq directory.
  2036.  
  2037.     Get scsiping from the same place as above.
  2038.  
  2039. 74)+    My printer will not print large files(over 1-megabyte), I 
  2040.     keep getting "file to big" errors. What do I do?
  2041.  
  2042.     Put the following line in your /etc/printcap file
  2043.     for the printer that has the problem.
  2044.  
  2045.     :mx#0:
  2046.  
  2047.     This basically allows for unlimited sizes of print jobs.
  2048.     Of course you are still limited by your amount of
  2049.     spool space.
  2050.  
  2051.     If you do not have access to /etc/printcap you can
  2052.     use the -s switch to lpr to use a "symlink" of the    
  2053.     file instead of copying the "real" file to the spool 
  2054.     directory.
  2055.     
  2056. 75)+    I keep getting "data corruption" when using NFS over a wan,
  2057.     or slip/ppp link. What do I do?  or
  2058.     Does anybody know how to enable UDP checksum on NFS?
  2059.  
  2060.     The usaully cause for this(at least for SunOS4.x) is not
  2061.     having udp checksumming turned on. 
  2062.  
  2063.     You can turn it at boot and while the machine is running 
  2064.     by using the following adb script:
  2065.     
  2066.     #!/bin/sh
  2067.     adb -w -k /vmunix /dev/mem << EOF
  2068.     udp_cksum?W1
  2069.     udp_cksum/W1
  2070.     EOF
  2071.  
  2072.     Install or call this script from rc.local.
  2073.  
  2074.     Or edit /usr/kvm/sys/netinet/in_proto.c and change the
  2075.     udp_cksum line (near the end from  udp_cksum = 0 to udp_cksum =1
  2076.     and reconfigure your kernel and reboot)
  2077.  
  2078.     Note: udp checksumming is turned on by default under SunOS5.x.
  2079.  
  2080. 76)+    Does anybody know how to enable UDP checksum on NFS?
  2081.  
  2082.     See the answer to question 75.
  2083.  
  2084. 77)+    Is there a mailing list for Wabi?
  2085.  
  2086.     No. Currentily, Sun has 2 E-mail addresses that
  2087.     you can get information about Wabi and the Windows
  2088.     Apps that Wabi supports. These addresses are as follows:
  2089.  
  2090.          wabi1.0-questions@east.sun.com    - FAQ List
  2091.         wabi1.0-apps@east.sun.com    - Application List
  2092.  
  2093.  
  2094.